const { http } = uni.$u

////字典项--民族
export const ndictionary = (data, config = {}) => http.post('/ygt-api/diction/findList/'+data, data)

// 获取医共体上级医院
export const v1HospitalSuperiors = (params, config = {}) => http.post('/ygt-api/v1/hospital/superiors', params, config)

//根据医院Id获取院内科室列表
export const v1DepartmentsList = (params, config = {}) => http.get('/ygt-api/v1/departments/list/'+params, )

// 保存申请-转诊专用
export const v1TowwaySaveUpdateApi = (params, config = {}) => http.post('/ygt-api/v1/towway/saveUpdate', params, config)